/**
 *
 *
 * SysDictData 字典数据管理模块
 *
 * */

import {getData} from "../request"

/**
 * /api/SysDictData/GetPagesByTypeID 查询列表根据类型id
 *
 * */
export const get_dic_data_list = (params = {}) => {
    return getData("/api/SysDictData/GetPagesByTypeID", "POST", params, "data")
}

/**
 * /api/SysDictData/Edit 修改/添加字典值
 *
 * */
export const edit_dic_data = (params = {}) => {
    return getData("/api/SysDictData/Edit", "POST", params, "data")
}

/**
 * /api/SysDictData/Delete 删除一条或多条数据
 *
 * */
export const delete_dic_data = (params = {}) => {
    return getData("/api/SysDictData/Delete", "POST", params, "data")
}

/**
 * /api/SysDictData/ChangeStatus 更新字典值状态'
 *
 * */
export const update_dic_status = (params = {}) => {
    return getData("/api/SysDictData/ChangeStatus", "POST", params, "data")
}

/**
 * /api/SysDictData/GetDicsByCode 根据字典类型Code获取字典值集合
 *
 * */
export const get_dic_data = (params = {}) => {
    return getData("/api/SysDictData/GetDicsByCode", "POST", params, "params")
}

